//
//  BDMyOrderCouponModel.h
//  iOS_beboy
//
//  Created by wen on 2017/9/20.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MJExtension/MJExtension.h>

typedef NS_ENUM(NSUInteger, BDMyOrderCouponStatus) {
    BDMyOrderCouponStatusNotUse,      //未使用
    BDMyOrderCouponStatusUsed,        //使用了等待评价
    BDMyOrderCouponStatusOverdue,     //过期
    BDMyOrderCouponStatusRefunding,   //退款中
    BDMyOrderCouponStatusRefunded,    //已经退款，也是过期的一部分
    BDMyOrderCouponStatusCommented    //评价完成
};

@interface BDMyOrderCouponModel : NSObject

@property (nonatomic) NSInteger my_id;
@property (nonatomic) NSInteger user_id;
@property (nonatomic) NSInteger shop_id;
@property (nonatomic) NSInteger coupon_id;
@property (nonatomic) NSInteger order_id;
@property (nonatomic) NSInteger code;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSString *cover;
@property (nonatomic, strong) NSString *price;
@property (nonatomic, strong) NSString *amount;
@property (nonatomic) NSInteger rec_num;
@property (nonatomic) NSInteger start_at;
@property (nonatomic) NSInteger end_at;
@property (nonatomic) BDMyOrderCouponStatus status;
@property (nonatomic) NSInteger type;
@property (nonatomic) NSInteger verify_at;
@property (nonatomic, strong) NSString *created_at;

@end
